#!/usr/bin/env python
import numpy as np
import sys

f = open(sys.argv[1],'r')
lines = f.readlines()
mtf = []
for i in range(len(lines)-1):
    mtf.append(float(lines[i+1].split(',')[2]))
print(np.median(np.array(mtf)))
